package com.xiaoshuidi.cloud.module.rooms.controller.app.home.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
@Schema(description = "集中式搜索找房返回对象")
public class ConcentratedFindHouseRespVO {
    @Schema(description = "门店id")
    private Long aptId;
    @Schema(description = "门店名称")
    private String aptName;
    @Schema(description = "地址")
    private String address;
    @Schema(description = "电话")
    private String storeTel;
    @Schema(description = "照片")
    private String picUrl;
    @Schema(description = "月租金")
    private String monthRental;
    @Schema(description = "面积")
    private Double space;
    @Schema(description = "距离")
    private Double distance;
    @Schema(description = "标签")
    private List<String> tags;
    @Schema(description = "房型信息")
    private List<ConcentratedFindHouseRespVO.LayoutInfo> layoutInfo;
    @Data
    public static class LayoutInfo{
        @Schema(description = "房型id")
        private Long layoutId;
        @Schema(description = "房型图片")
        private String picUrl;
        @Schema(description = "房型名")
        private String name;
        @Schema(description = "价格")
        private Double price;
        @Schema(description = "是否满房")
        private Boolean isFullRoom;
    }
}
